home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / mom_mania.swf / scripts / UILevelIntro.as < prev    next >
Text File  |  2011-08-19  |  1KB  |  57 lines

  1. package
  2. {
  3.    import flash.events.Event;
  4.    import mx.flash.UIMovieClip;
  5.    
  6.    public dynamic class UILevelIntro extends UIMovieClip
  7.    {
  8.        
  9.       
  10.       public function UILevelIntro()
  11.       {
  12.          super();
  13.          addFrameScript(0,frame1,2,frame3,12,frame13,22,frame23,32,frame33,45,frame46);
  14.       }
  15.       
  16.       function frame1() : *
  17.       {
  18.          stop();
  19.       }
  20.       
  21.       function frame3() : *
  22.       {
  23.          this.dispatchEvent(new Event("onIntroIdle"));
  24.          this.dispatchEvent(new Event("hackButtonSounds"));
  25.          stop();
  26.       }
  27.       
  28.       function frame23() : *
  29.       {
  30.          this.dispatchEvent(new Event("onIntroIdle"));
  31.          this.dispatchEvent(new Event("hackButtonSounds"));
  32.          stop();
  33.       }
  34.       
  35.       function frame13() : *
  36.       {
  37.          this.dispatchEvent(new Event("onIntroIdle"));
  38.          this.dispatchEvent(new Event("hackButtonSounds"));
  39.          stop();
  40.       }
  41.       
  42.       function frame46() : *
  43.       {
  44.          this.dispatchEvent(new Event("onIntroIdle"));
  45.          this.dispatchEvent(new Event("hackButtonSounds"));
  46.          stop();
  47.       }
  48.       
  49.       function frame33() : *
  50.       {
  51.          this.dispatchEvent(new Event("onIntroIdle"));
  52.          this.dispatchEvent(new Event("hackButtonSounds"));
  53.          stop();
  54.       }
  55.    }
  56. }
  57.